﻿using System.Collections.Generic;

namespace Ayatta.Contract.Domain
{
    public class PaymentPlatform : BaseEntity<int>
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string Image { get; set; }
        /// <summary>
        /// 第三方分配给的支付唯一标识
        /// </summary>
        public string MerchantId { get; set; }
        /// <summary>
        /// 私钥
        /// </summary>
        public string PrivateKey { get; set; }
        /// <summary>
        /// 公钥
        /// </summary>
        public string PublicKey { get; set; }
        /// <summary>
        /// 第三方支付网关Url(不包含参数)
        /// </summary>
        public string GatewayUrl { get; set; }
        /// <summary>
        /// 第三方支付成功后的返回Url
        /// </summary>
        public string CallbackUrl { get; set; }
        /// <summary>
        /// 第三方支付成功后的通知Url
        /// </summary>
        public string NotifyUrl { get; set; }
        /// <summary>
        /// 第三方交易查询Url
        /// </summary>
        public string QueryUrl { get; set; }
        /// <summary>
        /// 第三方退款Url
        /// </summary>
        public string RefoundUrl { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 优先级
        /// </summary>
        public int Priority { get; set; }
        /// <summary>
        /// 预留扩展参数
        /// </summary>
        public string Extra { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool Status { get; set; }
        /// <summary>
        /// 所支持电子银行
        /// </summary>
        public virtual IEnumerable<PaymentEBank> EBanks { get; set; }
    }
}